package com.winhxd.b2c.common.domain.product.vo;

import com.winhxd.b2c.common.domain.product.model.ProductSku;
import com.winhxd.b2c.common.domain.product.model.ProductTag;
import com.winhxd.b2c.common.domain.product.model.ProductSpuDetailImage;
import com.winhxd.b2c.common.domain.product.model.ProductSpuImage;
import com.winhxd.b2c.common.domain.product.model.ProductSpuVideo;
import com.winhxd.b2c.common.domain.product.model.ProductSpuVoice;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * ProductSpuVO
 *
 * @Author 李中华
 * @Date 2019/1/7 14:11
 * @Description:
 */
@ApiModel("商品详情")
@Data
public class ProductSpuDetailVO {

    @ApiModelProperty("品牌名称")
    private Long brandId;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("spuId")
    private Long spuId;

    @ApiModelProperty("商品名称")
    private String spuName;

    @ApiModelProperty("上下架状态(1上架，0下架)")
    private Integer saleStatus;

    @ApiModelProperty("商品价格方案ID")
    private Long priceSpuId;

    @ApiModelProperty("市场价")
    private BigDecimal guidePrice;

    @ApiModelProperty("售卖价格，指价格方案中的最终价格")
    private BigDecimal salePrice;

    @ApiModelProperty("销量")
    private Long salesVolume;

    @ApiModelProperty("款号编码，当由商品列表查看商品详情时有值，可为空-回显用")
    private String skuStyleCode;

    @ApiModelProperty("skuId，当查看sku商品详情时有值，可为空-回显用")
    private Long skuId;

    @ApiModelProperty("sku库存，当查看sku商品详情时有值，可为空-回显用")
    private Long skuStock;

    @ApiModelProperty("商品视频,目前支持一个")
    private List<ProductSpuVideo> productSpuVideoList;

    @ApiModelProperty("商品图片")
    private List<ProductSpuImage> productSpuImageList;

    @ApiModelProperty("商品服务集合")
    private List<ProductTag> productTagList;

    @ApiModelProperty("商品属性集合")
    private List<ProductAttributeVO> productAttributeList;

    @ApiModelProperty("商品规格列表")
    private List<ProductSpuVoice> productSpuVoiceList;

    @ApiModelProperty("商品详情图片")
    private List<ProductSpuDetailImage> productSpuDetailImageList;

    @ApiModelProperty("商品SKU")
    private List<ProductSkuPriceVO> productSkuList;

    @ApiModelProperty("已选商品规格")
    private String skuSimpleDesc;
}
